package graphics;

import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.geom.Point2D;

import javax.swing.JFrame;
import javax.swing.JPanel;

import stats.Statistics;
import core.Mode;
import core.sim.ring.RingWorldSim;

public class RingworldSimulationPainter extends JPanel {
	
	@Override
	public void paint(Graphics g) {

			setVisible(true);
			
			Graphics2D simG = (Graphics2D)g;
			simG.translate(40, 35);
			Mode.mode.simulation.drawMovie(simG, new Point2D.Double(700, 700));
			simG.translate(-40, -35);
		}
	

}
